package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author melon
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("audit_list")
@ApiModel(value="AuditList对象", description="")
public class AuditList implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("parent_id")
    private Integer parentId;

    @TableField("name_id")
    private String nameId;

    private String opinion;

    @ApiModelProperty(value = "类型 1 拒绝 2 通过")
    private Integer status;

    @ApiModelProperty(value = "类型 1 审批人 2 抄送人")
    private String types;

    @ApiModelProperty(value = "审核类型")
    @TableField("process_type")
    private String processType;

    @TableField("creation_time")
    private Date creationTime;

    @TableField(exist = false)
    private City supply_city;

    @TableField(exist = false)
    private City supply_dept;

    @TableField(exist = false)
    private Integer depId;

    @TableField(exist = false)
    private String remarks;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String dingTalk;
}
